Added arrays to store packets on send/recv in net crypto.

Wrote down more of the protocol.

Padding support has been added and implemented which will make it
possible for us to pad packets to mitigate length related attacks.