2.x maintenance

port changes made in master to allow subclassing and overriding hostname
fix spoofing hostname (tested with latest version of ganglia)
make GangliaMessageBuilder public and visible to allow subclassing.