Revert "fixed misreference of $ssl instead of $this->ssl"

This reverts commit 6ce6f9397e80382b47ec539a0cc64e18fde35d97.