add patch for curl(Bug: http://curl.haxx.se/bug/view.cgi?id=1350)