(core) split frameserver backend into a platform part
win32 current untested and likely partially broken.