Correct issue with socket.io killing sockets for websocket lib. Correct errors in README to reflect new api. Add missing socket events back.
Add support for resource dependency injection