Support maxage for uplinks

Adds support for the maxage config property of uplinks.