I'd consider using hyperref if I were you, which will handle URLs fine
and also make them real hyperlinks if you output to PDF.