refactored httagd server, added options: tpl-dir, bind-addr, bind-port