Fix failure to report length of message written/read in SocketPosix.cpp.