EBX (or RBX on x86_64) is used for the PIC base address. The current cpuid inline assembly only saved ebx which is fine under i386 but only half of the fun on x86_64.
"null server certificate" is not an error. It is usually seen when the certificate already has been sent and the server doesn't send it twice just because of licensing. Degrading to debug message. Do the check early to avoid leaking a stream. Also remove unused static strings.
…avoid out of range indexing