UPGRADE: esp pak - improve handling of cache dir
UPGRADE: mpr and http packs to optimize bit packing