Please read this before starting on SSL projects with indy: http://www.indyproject.org/Sockets/SSL.en.aspx
Persistent login example using Indy with SSL in Delphi for Blogger(blogspot from google)
- source is very well commented
- some of the cookie handling things are pretty rfc-compliant