wfreerdp-server: update and fix core functionality