Detect httpRequest in JavaListener request and add a securityHandler for
it.