treat request params by protocol