Update Libwebsockets Libraries to latest version

Had to add some more definitions to the win helpers to get the new LWS
libraries running
Changes to avoid server and client crashes on windows