TCP port should be a ushort

Hopefully this is all that is needed to fix TCP ports to be the correct range.

Sorry I haven't tested but I have no way to compile just right now.