Now that we no longer use the median filter to keep track of the number of blocks of peers, that's the only place it is used.
The network time-offset-mangement functions from util.cpp are moved to timedata.(cpp|h). This breaks the dependency of util on netbase.