kmshttpendpoint: Open and close valves on state changes
kmshttpendpoint: Open and close valves on state changes

Change-Id: Id5a4ff379cc3c5b4bc0ee4287bcf1056d776cd18

shelsonjava/kms-elements,Kurento/kms-elements,TribeMedia/kms-elements,TribeMedia/kms-elements,shelsonjava/kms-elements,shelsonjava/kms-elements,Kurento/kms-elements,Kurento/kms-elements,TribeMedia/kms-elements