encode for slashes in the HTTP