Compatibility with newer libwebsockets