As per @lkorth Pull #104, dropped URL encoding  of headers. Including test