added functionality in the router to proxy requests to internal servers