Encode urls.
Support for slice parameters.