Fixed bug in HttpRequestWrapper

Fixed bug in request wrapper that was preventing root routes from being
matched properly