add ssl support

Tested with logstash-1.5.0rc1 and rsyslog-7.6.3
would you mind moving this ssl setup code into its own method that get's called here in #register? This makes the register method cleaner and easier to understand.