[base] Counter: minor code cleanup
[http] HttpServer: API header file inclusion cleanup
[base] DateTime: drop spinlock

We don't need a spinlock here because we're using datetime objects
thread-local only.

If something else needs to concurrently access a datetime object,
it has to explicitely make sure to safely access it.