Replace select(2) with poll(2) for connection management.

select(2) can't monitor fds with number >1024. This is troublesome for
network servers with many connections. After reconnects MongoDB's fd has
number >1024 and select returns with error.