add stats module
http stats tracking
fix http stat tests
fixed destroy issues in stats test