Fix bug in ModuleManager
Add TODO
Fix bug in TCPConnectionManager

Attribute address in connectTo was not checked against null
Also add some logging