gotwebd: improve gotwebd_assign_querystring()