Added http protocol detection to the protocol detecting gateway and added websocket support to the http gateway which routes traffic back to the protocol detecting gateway.