Use poll instead of select to avoid FD_SETSIZE limit

I've seen that the connect with timeout uses select.
We're using with the beanstalk client in a process with a lot of file descriptors (more than 1024) so we're hitting the FD_SETSIZE limit.
Poll is safe to use even in this case, so I'd propose to use it instead of poll.
Let me know what you think