Add ReceiveX to ClientSocket, fix includes on FreeBSD