check sockets are valid resources
Merge branch 'master' of git://github.com/deweller/ripple-ws-client