Fork of  https://github.com/warmcat/libwebsockets