Selectively enable SSL on dynamicproxy via a class param

Change-Id: I46effb9e93c78ee66b9d05698357f38b13ea1b02