Added server hostname validation to check for localhost.localdomain

Resolves #65