Added support for Endpoints
Added listener event for connecting to endpoints
Merge pull request #16 from vinaysshenoy/master

Added Support for Endpoints