connect input and send irc message to server