Please don't do this "CONSTANT == variable" type testing order, it's
completely unnatural and not something we commonly do elsewhere in the
networking code.
I know some coders bible somewhere says that this is how you avoid
accidental assignments, but it's too ugly to live.