Encode URLs.