cleanups
Add functions to serialize ack and raw packets

Not used yet
The proxy does not send the SYNACK anymore