adding ssl support in sampleserver