Basic working version of urllib.urlopen.