Ensure we also validate the port correctly in the channel handler