packet structure encode/decode
cleanup encoder and decoder
server status working