MB-9673: quote forward slash for url path

Change-Id: I42be9ec088fe393b4ea1b3a090f6be5c3257a576
Reviewed-on: http://review.couchbase.org/30844
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>