Refactor params class to use hash, fixes #62

Hi, this is my stab at fixing #62 by adding a hash to contain params as you suggested in #79.

Some other goodies in this PR:
  - added more gzip options
  - added support for tcp_nopush
  - added an example to the README for setting up a location

:hamburger: