rdpsnd: some refactoring on iOS