Remove debug code
Fixed network bug

Fixed a bug that caused integers and bytes to be incorrectly received on
the php side. This caused connectivity errors when a negative seed for
auth was incorrectly received.