Add header.clear() before extracting message
Add header.clear() before extracting response message