Add OFSocket base class.