some SSL stuff. more to come.