Fix #1 by escaping hostname