Add timeout to urlopen

- Connection can sometimes hang forever on SSL handshake
Merge pull request #51 from thelinuxkid/master

Add timeout to urlopen