URL encode channels to avoid hacky methods.

Closes #44
Add redirect support for fragmented urls.

Ref #44
gofmt