Web sockets are, indeed, the best way to implement OSC in a browser - but, with lacking support, the next-best thing is a custom HTTP server. An effort is underway to build one - I've not checked out the process, so have a look yourself to see if it fits your purposes.