Make auto reconnection handle ws4py exceptions as well as socket excepti...

hi again!

while doing development on the meteor end of my project i noticed that if meteor restarted too quickly then `recover_network_failure` often receives ws4py exceptions such as `HandshakeError` and so stops trying to reconnect.

this patch just makes it catch ws4py exceptions as well as the already caught socket errors so that reconnection keeps trying.