Support to use agent forwarding

These are changes to support agent forwarding linked with the following changes:

https://github.com/phpseclib/phpseclib/pull/518 change in phpseclib/phpseclib

https://github.com/illuminate/remote/pull/6 change in illuminate/remote