Add support for custom http headers. Update license.