client: read proxy setting from environment