Bugfix: Forgot to prefix some http methods.

When I moved http helpers into HTTPUtil I missed a few instances of
method calls related to the cache header feature.
Added promptForBasicAuth to HTTPUtil. Updated example

Need to make this stuff as easy as possible, right?