Update controller.py

Enable TLS to correct Poodle SSL patching