Fixed issue #440. Now the "url" #foo.baz is correctly recognized as a channel
instead of a hostname.