connect() should respect timeout parameter
fix a typo with fcntl result check
Add polling for outgoing packets on connect
Merge pull request #1 from ihanick/master

testing pr from another repo. Fixed timeout