Connects the current user to an IRC server, the map should be in a format like:
{
"host": "my.irc.hostname",
"nickname": "myNick",
"ports": "6667,6668",
"password": "mypass",
"username": "myuser",
"realname": "my name",
"useSSL": false
}
only "host" and "nickname" are required.