[tcp] Store local port in host byte order