Basic multithreading framework and sendPong IRC function