Improve url support. Added support for non-root url ex.: domain.com/api/rest/controller