builder,proxy.py: Set rewrite=True.

Closes chfoo/wpull#161
http.request: Account for empty reasons and the 0 status code.

Closes chfoo/wpull#165