using connect example code added
Merge pull request #369 from nothing2lose/master

without express example code added