refactoring and another test
resuccitated CompressionUtils; code cleanup and refactoring
fixed issue with null headers in remote response
minor cleanup