Allow to specify require ssl for grants

Allow to specify require ssl for grants.