Fixing HttpRestMessageInspector so that it doesn't fail with zero length streams