support optional sending of Remote-Party-ID headers (issue #2471, heavily modified...