method: convert(hosts)

method:
 convert(hosts): Migrated away from if/else if/else conditional to
                 switch/case. Now performs eval on host elements
                 supplied as 'range' arg and tests for valid hostname,
                 valid IPv4 or IPv6 address. In the case of an IPv4 or
                 IPv6 CIDR notation the range is calculated and then
                 split into smaller scanning chunks.