2.0

Hi, I fixed a couple of issues with 2.0 that became apparent when migrating our codebase to it. The major one being a mismatched encode/decode of AFURLRequestSerialization, while the minor fix was some implicit casting warnings - we run warnings as errors, so this was a showstopper for us.