actually copy the wrapped request instead of just wrapping it, and set content length properly