added HTTPS remote server option