libfreerdp-core: move client channels code to separate file