More local comms infra

Initiate connection to peer, send hello req, receive hello response, fix
some bugs in handling receive data