Issue #228: Allowed the setting of custom headers

Issue #228: Allowed the setting of custom headers + minor documentation