Match socket errors other than 'closed' when sending a request, e.g. einval.
Match socket errors other than 'closed' when sending a request, e.g. einval.

jmayfield74/riak-erlang-client,inaka/riak-erlang-client,esl/riak-erlang-client,linearregression/riak-erlang-client,paulperegud/riak-erlang-client,GabrielNicolasAvellaneda/riak-erlang-client,SiftLogic/riak-erlang-client,groovenauts-erlang/riak-erlang-client,rhumbertgz/riak-erlang-client,pma/riak-erlang-client