add the code of catching the IllegalStateException in
MiddlewareFactory.install()
Merge remote-tracking branch 'github-nginxlib/master'