Catch up the latest websocket implementation and do some improvement

Hello.

I replaced web_socket.rb as the latest version(https://github.com/gimite/web-socket-ruby) for fix a issue(https://github.com/gimite/web-socket-ruby/issues/19).

And I improve some implementation a bit.

It would be glad if you release as a gem to reflect this changes.

Regards.