Correctly handle big timeout values

http://curl.haxx.se/mail/curlpython-2013-04/0000.html