Proximity-induced gap in nanowires with a thin superconducting shell