add offset request/response codec.