added support for client certificates and other options to ssl.wrap_socket()