add the encryption-required failure condition to the interface
add the possibility to force Tls (prevent login if tls is not present)
Merge pull request #11 from oli-obk/stable