Add location handling + refactor Fast-CGI response handling