libfreerdp-core: start untangling session redirection