remove metrics module from server
remove metrics files
introduce MultiMetric
add time from seconds since epoch function
encode timestamp as seconds
improved server metrics api
correct typedef for multi metric handler