Refactor client bundling into separate middleware.
Use prepackaged tarballs from zpao.