Implemented basic connection support and SSL handle