Migration of OFTCPSocket tests to new testing framework.