PHP IRC interaction