fixes #8811 - refactor per-module enabling of http(s) to http(s)_rackup

Moved checks for http(s)_enabled? to http(s)_rackup methods
can you add a test based on the real plugin definition? e.g. where the http_rackup_path is define prior to the plugin?