Handle passing an array of types to Node.listen