Changes made to support AFNetworking 2.0

Based on pull request #50 that's still pending from @nilsou.  Found it needed a few more tweaks to get working properly.