minor optimizations to the networking layer
Merge branch 'unstable' of github.com:evilsocket/gibson into unstable