Added default routes for localhost originating traffic (code by oryon, unit test fixing by me).