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'
i also like how there's a variable named `blocksize` that is not the blocksize, but should be `blocks` and `bytesize` should be `blocksize`.