support FreshConnection ver0.2.0. and rspec environment