Stunnel bugfix