Can run server on different thread, there's a problem when passing parameters to do_POST, don't know the format of req parameter