Rearrange protocol enumeration order
Add command-line arguments