clean up RakeFile and Gemfile so we can use stdlib
add ssl support