Fix for NPE when the OpenSSLSocketImpl returns null from getNpnSelectedProtocol.