Fixes soname problem
Adds PROXY_LOCALNET env var for "simple" mode