move server stats to connection object