Import irc.connection within the try

There is a try/except block to protect against not having irc
installed - but there is an import that happens before that.
Move the import.