Extract subdomains from a domain name excluding the top and second level domain.
domain from which subdomains will be extracted
number of labels to skip, which defaults to 2 (eg. 'example' and 'com')
a list of subdomains in their left-to-right order of appearance in the domain excluding the two top-most levels