implement packet statistics
fix broadcast identifier
fix local address detection