Basic instrumentation for TCP/UDP servers