Modifying WordPress.com account creation to limit the username to 50 characters.
Improved URL encoding

Taken from AFNetworking for better compatibility