Parse hosts with slashes and dots