Handle https connection from client