Updated per comments, fixed ssl patch