Made http reloading more DRY and slightly more verbose.