write proxy settings