re-introduced sslflags support for webapps

This reverts commit fc6550819d66c590324d35d79ad9c422a8d6c4c0.