Add overloaded method for publishers.

This will allow any samplers to set the delay in between publishing.
Add configurable lifetime to publisher
Update for v1.0.7
skip getLocalHost when spoofName is provided
Merge pull request #13 from minkenlai/master

skip getLocalHost when spoofName is provided