Properly encoding/decoding data sent from client to server.