use basic error instead of nil as default for socket error
use basic error instead of nil as default for socket error

closes #450

mahemoff/excon,excon/excon,ilackarms/excon,hammerdr/excon,TheNeatCompany/excon,wadetandy/excon,liftforward/excon,cloudfoundry-incubator/excon