A moving contact line as a rheometer for nanometric interfacial layers