SSL: server prototype