Import time() directly

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added support for terminating IRC thread and defer message sending to IRC thread

Signed-off-by: Stefan Marr <git@stefan-marr.de>