It could be useful to know whether for example https or http (or any other protocol) were used in the request to nitrogen. To know this, there needs to be an interface for this in simple_bridge. This commit contains a proposed interface, and an implementation in yaws. If interested, I could help out in implementing support in the other bridge implementations as well.
Added 'scheme' function to simple_bridge's request interface.
Implemented support for 'scheme' in yaws request bridge.
Closing since pull request is in simplebridge