feature: add method arrayKeys with an additional support for ArrayObject

`strpos($path, 'http') === 0` is repeated twice