Adding the start of a protocol detecting gateway.