[MGM]: Fix SSL handling for gearman

Change-Id: If57218f84175217f79c97afb8cd77db2991bb662