Add support for gauge messages.
Merge pull request #20 from graydon/add-gauge-support