Added a method for setting header fields
Fields defined by setField() are now sent