[PATCH 1/2] Use constants for protocol's order instead of magic numbers