Remove trailing LF characters from short host names too.
Merge pull request #425 from vahur/httpd-short-hostname-fix

Remove trailing LF characters from short host names too.