Rename message::writeSocket() and message::readSocket() to message::writeData() and message::readData() respectively.