Add option to configure sending hostname

Let me know what you think. :)