Use net.JoinHostPort and net.SplitHostPort