Vessel with system for transferring persons or goods