Remove Ruby 2.1 syntax from Connection