Add environment variables for errors and statistics

* `NN_PRINT_ERRORS` prints errors to stderr
* `NN_PRINT_STATISTICS` prints statistics to stderr every 10 seconds
* `socket_name` now initializes to string representation of fd number

Both environment variables are intended for debugging purposes only