embedthis/goahead — pull request #103 by Eric--Zhou (2014-11-11 16:25:04+00:00)
Title: Fix host error in websRedirect

When extract host from hostbuf via a colon, it's ok in IPv4, but ng in IPv6.
So skip IPv6 address firstly, then continue to handle port, it can work well.