Factor out packet send/recv
Merge branch 'master' of github.com:Pringley/secure-atm