libfreerdp-core: properly attach tcp event handle for peers