Add handlers for errors 436 ERR_NICKCOLLISION and 437 ERR_UNAVAILRESOURCE.

At least for 437, the server closes your connection if you are in the process of connecting and do not supply another nickname.