fixing socket constructor and removing engine.io specific functions
updating code and starting to add tests
adding tests and examples