Allow '-' character in host name

Closes #43