Added possibility of passing headers as Spring's HttpHeaders