check out the gitub page for openwrt packages for onioniot.
like libwebsockets.
https://github.com/OnionIoT/OpenWRT-Packages/tree/master/libwebsockets

I just recieved my omega2+ but from reading wiki it runs openwrt so I'd imagine most openwrt packages should port to it.