Specifying ports outside of the bounds of 1 - 65535 give unexpected behaviors:
- 0 assigns a random port
- less than 0 underflows
- greater than 65535 overflows and then assigns a random port
This patch alerts the user that port numbers in these ranges are invalid.