Refactor socket code before adding code to use a socket factory
Implement code to get a socket from the factory daemon
Switch to using the socket factory
Don't set timeout on a bad socket
Improve logging
Markups
Merge pull request #44 from Metaswitch/socket-server

[Reviewer: Andy] Make sas-client get a connection to SAS from the socket factory