Support HTTP/HTTPS redirect with goroutine.