Initial fix of problems with Https connections on Weblogic. 
Will be tested later