Proposed fix for https://github.com/AFNetworking/AFNetworking/issues/1477