Extract functionality to Perinci::Access::Lite (to make it easier to add http support)