Make \r for line endings optional, Reordered PASS/NICK/USER commands to ...

...be more RFC compliant

This is needed for making Mojo::IRC irssiproxy compatible.