Added SSL option. Added config loaded for tests.