feat(router): include a firewall to mitigate security problems.

Replaces #2063