Corrected Packet Formats

Packets sent to server are now in correct format to be parsed. Minor
updates: removed some debugging messages.