Fix requests if SOAP service is not on port 80, do not crash on errors

Tests added for the crash.