fixed a minor but annoying bug in ClientSocket/ServerSocket.recv()
cleanup