Fix bug (request->header inside routes of Dancer->dance($request) threw error exception)

Fix bug (request->header inside routes of Dancer->dance($request) threw error exception)

I have tested and it works now
And all tests are passed