Two-dimensional S-N-S junction with Rashba spin-orbit coupling