Fix issue with lowercased hostname

See http://www.sublimetext.com/forum/viewtopic.php?f=2&t=12901