SLE12 support (bnc#900660)

- includes some more bug fixes which I found during testing
this method is so incredible long, so I have trouble to check if @ServerSettings can be nil. Do you check it?