The file server.c already existed, but exposed a low-level API. Make it higher-level, so that scrcpy.c does not handle server details directly.
Only include SDL_stdinc.h for SDL_bool, not the whole SDL.h.
Start a new clean history from here.