Http/Https proxy settings OH 1.x on windows

Hi, i am trying to use Openhab behind a http proxy server. Is there an official guide on how to set the proxy? Is it fully supported?

I tried to follow the solutions presented here: Set up HTTP Bindings when openHAB runs behind a HTTP proxy

but there are still some troubles.

For example, the netamo and the weather binding are not able to connect to the internet. The netatmo binding tells that is not able to refresh the token due to an error on the socks response. A similar error comes from the Weather binding.

This is the error from the netatmo binding:

Fatal transport error: Malformed reply from SOCKS server
19:53:06.756 [ERROR] [.service.AbstractActiveService:175 ] - Error while executing background thread Netatmo Refresh Service
org.openhab.binding.netatmo.internal.NetatmoException: Could not refresh access token!
at org.openhab.binding.netatmo.internal.messages.AbstractRequest.newException( ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute( ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding$OAuthCredentials.refreshAccessToken( ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding.execute( ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute( ~[na:na]
at org.openhab.core.service.AbstractActiveService$ ~[na:na]
Caused by: java.lang.NullPointerException: null
at ~[na:1.8.0_60]
at org.codehaus.jackson.JsonFactory.createJsonParser( ~[na:na]
at ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute( ~[na:na]
… 4 common frames omitted

Aside from that, when I set up the proxy, OpenHab is no longer able to access the hue bridge or other local services even if I setted the -Dhttp.nonProxyHosts with the local range.

Here my config for the proxy that i setted in the start.bat file
-Dhttp.proxySet=true -Dhttp.proxyHost=a.b.d.18 -Dhttp.proxyPort=8080 -Dhttps.proxySet=true -Dhttps.proxyHost=a.b.d.18 -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=a.b.c.* -DsocksProxyHost=a.b.d.18 -DsocksProxyPort=8080

How can I fix these issues?