openssl Socket subclass