Port of the Legacy SSL server code to suit the composable framework