fixed async_connect for endpoint_type reference

Signed-off-by: Jack <jack.wgm@gmail.com>
update CMakeLists.txt

Signed-off-by: Jack <jack.wgm@gmail.com>
Merge pull request #2 from avplayer/master

更新