added inital engine.io code, refactored nodejs code
fixed bugs, refactored some more