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.
Merge pull request #103 from Eric--Zhou/master

Fix host error in websRedirect
Fix host error in websRedirect for Windows.

In visual studio,  x ? : y will cause building fail although it's concise in linux.
Merge pull request #104 from Eric--Zhou/master

Fix host error in websRedirect for Windows.
Merge branch 'master' of github.com:embedthis/goahead