Fix for NPE when the OpenSSLSocketImpl returns null from getNpnSelectedProtocol.
Merge pull request #513 from adamsp/master

Fix for NPE when the OpenSSLSocketImpl returns null from getNpnSelectedProtocol