normalize docker-related environment variables for dockerode's connection object