Fix handling of URLs containing backslashes

This change is from deinspanjer from Feb. 4th, 2013
Update docs