Fixed the NICK command not returning that the nickname was changed on first nickname set, and formatLine returning the wrong prefix because the attribute was being set before formatting the line.

As for the second issue, without this fix it would look like "NewNick
is now known as NewNick" instead of "OldNick is now known as NewNick"