Handle multiple values per header
Add tests for resolving links