Minor refactor--a small speed increase for initial configuration and
moving some HTTP-related functionality into HTTPUtil