refine create_ssl_connection
refine create_ssl_connection