Getting a header. The method is used to get the message header. It will be written to the string for which the method was called. Besides, the header will be deleted from the data object.
|data||The buffer of the string containing the data being processed.|
Returns the object which method has been called.