Added parameter check when setting Host header
using built-in System.Uri.CheckHostName
Merge pull request #505 from neochrome/validate-host-header-argument

Added parameter check when setting Host header