Support AFNetworking 2.0

Also fix implicit declaration of function CC_MD5 is invalid in C99