update slot framework to support ssl.