mod_rayo: clean up error/request interface