Log from python to Logstash server through encrypted TCP