change TCP port datatype from int to uint16_t
because int doesn't match the range
add range check in every TCP binary
Merge remote-tracking branch 'origin/master'