Fix requests if SOAP service is not on port 80
Add a failing tests to reproduce an uncaught error
Fix a potential crash in the client handler