Spring cleaning

- Fixed issues with responses and resources containing a 'data' field
- Fixed headers' size issues in code and tests dealing with proxied connections
- Some linting