Added length check to onion_send_1().
Some code refactoring to make passing onion packets through TCP easier.
Added functions to receive and send onion packets via TCP to net_crypto.c