used command length when sending and receiving
made ChatProtocol a member of ChatClient
made MAX_BODY_LENGTH protected