WIP Add --metadb to peri-htserve (untested, doesn't work yet?)