Rewrite network and crypto stuff.

- remove tcp multiplexing
- rewrite protocol to match with stream logic
- use threefish instead of aes