patch rack request to be able to read request body multiple times