Change connection.rb according to westbaer's fork.