ruby2.0.0 and https handling