An SSL-encrypting socket wrapper