Fixed file:// url matching.
Fixed irc:// and ircs:// url matching: irc://freenode was not working because
"freenode" doesn't match a hostname.