Make OFTLSSocket an abstract class

This should make it easier to add TLS support using various
implementations.