use Mojo::IRC's testing API

By setting $ENV{MOJO_IRC_OFFLINE}, no connection will be made and the
from_irc_server/{to_irc_server} API is opened up.