wfreerdp-server: error handling improvements for mirror driver