Update setup for the new version of libwebsockets
Add a test mode that do not unbiais the numbers