Make url case_insensitive optional in http_endpoint
Added test case with double endpoint