Implement URLs encoding, replacing ':' and '-' by '_'