init request/response/rest to suppress PHP warnings