Packet in perf

Lots of parsing fixes. Tested against Go 1.1