Fix issue with firefox and http endpoint

The problem was in the http plugin two stream headers were sent to
the client

Change-Id: I94c6e5bc94d1ada5cacd4365e2cfb858795f0a85