Check for failure of realloc
Zero out epoll_event struct before using it - prevents valgrind warnings
Move variable declarations to more specific scopes
Support actually building a Debian package
Specify that counter functions don't take any parameters
Remove a dead break statement from help message
Reduce the scope of for loops iterator variables