Fixed issue where default headers were not getting applied
Merge pull request #1173 from kcharwood/afserialization_default_headers_fix

[2.0] Fixed issue where default headers were not getting applied