Removed forgotten debug code in base.rb.
Changed the rest client call to use TLS instead of default SSL.