Improve server constructor argument validation error reporting.
Merge pull request #1005 from philbooth/master

Improve server constructor argument validation error reporting