Make \r for line endings optional, Reordered PASS/NICK/USER commands to be more RFC compliant