public void headHandler(IAsyncHandler<H> headHandler) {
        this.headHandler = headHandler;
    }
Sets the head handler.
@param headHandler head handler
gateway/engine/core/src/main/java/io/apiman/gateway/engine/io/AbstractStream.java