I remember I once modified this library to create websocket server for some tests I needed to run. It was not handling all the cases, cause I needed only couple of tests, so I through it out in the end, as it was not usable for generic purposes.
Basically what needed to be rewritten is the loop when checking for messages, etc. Like using timers in Gideros, instead of ev or copas
But since you need a client, then I think you can also try using their synchronous client, which does not depend on third party loops.
And if that works, you can try modiyfing client_sync.lua by adding Gideros events and Timers loop too