Implemented SSL ID persistence, not all tests written yet.

Change-Id: I763be392ed7327595b8eb1a6d4a30357095eb5fd