use net.SplitHostPort instead of strings.Split