Updated to modify the rack request parameters directly, and to move instead of copy the parameters.