added pending to connect options
Merge pull request #7 from qapital/master

added pending to connect options