implement getRoutes

Sometimes I want to know which routes are set

depends on #13 for the header lookups