SNS junctions in nanowires with spin-orbit coupling: Role of confinement and helicity on the subgap spectrum