Implemented encoding/decoding in protocol. Created test standalone server