Add Content-Length to SP responses.
Fixed up URL quoting a bit.