Added SSL support
Grouped all asyncio callbacks