Implement initial version of restart() and fix handler do_POST
Add internal error message