Generates a cURL command given a NSURLRequest