Solves ruby 1.9 SSL error