fix javax.net.ssl.SSLProtocolException: handshake alert:
unrecognized_name (fix #549)