placed client.connect at the end of the example
Merge pull request #20 from JHKennedy4/master

Fixed README example