Revert changes to SSL implementation.