Workaround for proxy support

Hi all,

I am using robotframework and the appiumlibrary and as far as I understand currently there is no proxy support in the capabilities. Does anyone has a solution so the traffic go through a proxy when opening an application on remove appium server? For example saucelabs.

robot/appium -> proxy -> saucelabs

I tried setting the http_proxy in environment variable but this is not being picked up by appium and robotframework. Any workaround?