added enforce ssl option