Wrap errors with our class.
Surpass warnings during tests.
Merge pull request #7 from kramarz/master

Wrap exceptions of connecting to socket.