Use abstraction instead of using SDL dependencies.
Fix CMake lib dependencies for crypto/SSL. Also ensure websockets work on macOS for both client and server.
Include _s wrappers for most standard function calls.