Service discovery works. TCP streams established.
Added error handling and comments to ServiceDiscoveryThread. Assorted logging.
Changed the way the Android dependent interfaces are passed in the constructor.
Networking threads are singletons now.
Merge branch 'milestone1'