Update upload.py

I was having issues uploading a patch:
  * Asked to fill out a captcha; couldn't prove my humanity
  * httplib.InvalidURL: nonnumeric port: ''

Upgrading to the latest upload.py appears to fix both.