Hello and thanks for your reply.
My idea was to use this combined to sockets, in listening mode.
Your idea might be doable but isn't easier then the java bouncer/proxy I made for that purpose some years ago.
My idea was to completely replace this proxy and use only "native" mirc code.