Oops, forgot to check-in httputils.py. Here it is