Handle and ignore empty referral server fields (fixes #2)
Fix hlint warning