Rework new connections and sending messages

Reworked how receiving new connections work and added the ability to
send messages to already established connections.