is https request issue
undo wrong pull request
dirname( FILE ) -> dirname(__FILE__)
Revert "fix issue when SOAP/wsdl calls are used"

This reverts commit 42518a5b41ccfe860ae178681748213de0ad8147.
Merge remote-tracking branch 'origin/master'