remove logging
refactor out network protocol
working on authorization
reconnect after outgoing connection has ended