Added postDataEncodingHandler and cacheHeaders to copy, mutableCopy and ...

Added postDataEncodingHandler and cacheHeaders to copy, mutableCopy and copyForRetry methods

These properties were not being copied, and caused unexpected behaviour or a crash in the cast of the cacheHeaders when retrying network operations