Use $request->server information for more precision