add initial state of ssl client based on libressl

This diff is based on self edited libressl version
of my own.