Pass the SOCKSError to the handshakeDone errback instead of raising it.

Patch by Karsten Loesing.
Merge branch 'handlesockserror'