protected function createRequestFromGlobals()
    {
        $_ATTRIBUTES = array_merge([], isset($_SESSION) ? $_SESSION : []);

        $SERVER = $_SERVER;

        if (isset($_POST["_method"])) {
            //Hack to allow PATCH, DELETE, OPTIONS etc!
            $SERVER['REQUEST_METHOD'] = $_POST["_method"];
        }

        return new Http\Request($_GET, $_POST, $_ATTRIBUTES, $_COOKIE, $_FILES, $SERVER);
    }