Enhance exceptions; fix some FIXMEs in OFTCPSocket.