Better error messages for Socket Timeout and Unknown Host. Fixes #160.