Hostname can now be unicode. Maybe fixes #1186