Add SSL connection handling; Change the way latest build get downloaded