put HTTP_REQUEST_BASE support back from Dancer 1

I think it is still needed in Dancer2 when tested in our server.

the code is copied from Dancer::Request.

Thanks