Fix issue with rails4 applications

When mounted in a rails4 application, the path that gets passed in the
rack request does not begin with a slash, so we normalize it to prevent
any issues.