Strip the port from the supplied host before looking up in the hostname map

This branch is a fix for #61, stripping the port before attempting to lookup in the map.