added TCP, SockJS & engine.io support. Fixed tests