Small fixes made to router. Which now accepts protocol and method specific routing