Code refactoring.
Handle connection error.
Ability to reconnect to IRC server.