Correcting reversed logic in port assignment for .NET SafariDriver's
WebSocket server

Fixes issue #5141.