Send User-Agent header with each request
diff --git a/lib/https.c b/lib/https.c
index 57767a3..df206d7 100644
--- a/lib/https.c
+++ b/lib/https.c
@@ -461,9 +461,13 @@
         } else {
                 BIO_printf(req->cbio, "Host: %s:%s\r\n", req->host, req->port);
         }
+        /* Add User-Agent header */
+        BIO_printf(req->cbio,
+                   "User-Agent: %s\r\n",
+                   ctx->useragent);
         /* Add signature */
         BIO_puts(req->cbio, "Authorization: Basic ");
-        
+
 	HMAC_CTX_init(&hmac);
 	HMAC_Init(&hmac, ctx->skey, strlen(ctx->skey), EVP_sha1());
 	HMAC_Update(&hmac, (unsigned char *)p, strlen(p));