ISPN-3016 REST Extended Headers support

https://issues.jboss.org/browse/ISPN-3016

Please pull https://github.com/infinispan/infinispan/pull/1799 first