add api for bandwidth statistics
rename to server_stats
Merge pull request #165 from oopoa/bandwidth-api

New API-function "server_stats".