Allow Middleware.enabled to override the mode
Merge pull request #2 from fbogsany/spy_profile

Allow Middleware.enabled to override the mode