Clean up some HTTP stuff.