refactored connections code to be nicer.
ability to disable listening for incoming connections in protocol service.
ability to maintain connections