using NSMutableURLRequest instead of NSURLRequest which causes a warning under Xcode 6