Added NetUtility.ForceHttp().
Minor stylistic changes, comment fixes, and error message improvements.