Recovery should not be stopped by an IOException

  Some proxies (e.g. HAProxy) cause java to throw an IOException instead
of a ConnectException. Previously this would cause the connection to
never recover.
Merge pull request #50 from paulbellamy/fix-haproxy-reconnection

Recovery should not be stopped by an IOException