fix ssl checks for ruby 1.8
Make rsyslog server port configurable