introduce deferred connects to handle multiple asyc connects
Merge pull request #139 from dhananjaysathe/master

Handle handshake and on connect asynchronously