Fix Mac OS X compilation issue
refactored connections code to be nicer.
ability to disable listening for incoming connections in protocol service.
ability to maintain connections
Merge pull request #29 from PabloCastellano/master

Last recommended changes to clarify License
Merge pull request #28 from changlan/master

Fix Mac OS X compilation issue