Performance optimizations and memory management

Added some benchmarks to secure channel and played around with improving its performance, also started using a sync.Pool for message buffers.
@whyrusleeping https://github.com/jbenet/go-ipfs/pull/221/files#diff-86d8738728814a89fca06796da33a059R22