I'm curious if you could use websockets to connect directly to an irc server rather than going through your perl backend?
However, you could very easily create a simple adapter that accepts Websocket connections and relays the data to a TCP server.
The result was a web page that merely visiting would spam people on the IRC network with hate messages from your IP. It was amusing.
Thats a lot more than none. It's also an example.