correct uwsgi.reload() and use httplib for resp.status_code checking, and updated unit tests