Issue 9269 - Remove import to curl to avoid unittest build failure

http://d.puremagic.com/issues/show_bug.cgi?id=9269

Patch courtesy of Gianni Pisetta.

Also, someone should learn to strip trailing spaces before they push.