#29 added support for simple SSL protocol