Frontend section in HAProxy config file have been splitted in two.

One for  http and for https.

I have also added a **X-Forwarded-Proto** header to the request for identifying the originating protocol of the  request to the  backend.

 It might make sense to make the second change customizable by doing something similar to the already existing backend configuration. By, for example, adding a **frontend_options** to the `INTERLOCK_DATA` JSON and use it to configure HAProxy. 

Yeah I agree I'm just not seeing the benefit of creating another frontend with just the extra header.  Are you saying that one could add more options to the http/https frontend only?  I would think that if one wanted to add extra config it would be in both.  Can you give an example?