Added server.py ssl mode dependant on cert existence