Prevent empty `Link` headers

Currently the response headers will include `Link:` no matter what -
even if there are no links. This patch only sets the header if there are
links to include.