add ssl support

Tested with logstash-1.5.0rc1 and rsyslog-7.6.3