feat(bastion): The whitelisting middleware

Adds middleware that Closes #7.

Unit tests, docstrings, and configuration samples included!