Added timeout to deal with connecting to slow and unreliable IRCservers

Not sure if I am doing this right. First time trying a pull request.

I found connecting to some IRC servers that are DOSS'ed often can be a pain. I think this should help being able to set your own timeout duration. 
Can you move this to L130, and make that read:

dialer := &net.Dialer{Timeout: conn.cfg.Timeout}

Then I think this is good to go! Thanks :-)