fixed errors in connection.rb
Merge pull request #12 from melodicodyssey/data_delivery

fixed errors in connection.rb