added a check for the http return code + download progress report

* Check the http return code before starting a download, urllib.retrieve does not do this by default
* show a download report ' X kb downloaded of XXX total kb (XX% complete) xxx kbps'
this only reports when a new block is is being downloaded, so if downloading a single block takes more then 10seconds, nothing will be logged?