change port from int16 to uint16

Does precisely what it says. Ports above 32767 don't fit in an `int16` so I changed it to `uint16`.