add reset method for response buffer