bugfix: copy headers when copying a request