REMOTE_ADDR not set when called from cli