Added support for socket.io connection to service
Updated API to match 1.2.8 methods
Refactored to scatter the code

Signed-off-by: Guyzmo <guyzmo+github@m0g.net>