UPGRADE: mpr, http packs.

Refactor httpSetFilename.