make heartbeat an option thart can be passed to client and server
added parameters to readme.
Added "npm test" command and fixed heartbeat pass through mishaps
Merge pull request #30 from jamescarr/master

Make Heartbeat Interval Configurable.