ResponseEntity's HeadersBuilder allows for specifying existing HttpHeaders

Issue: SPR-12324
Polishing
Delete unused imports in spring-messaging module