Define UINT_MAX as a constant for clarity.
Better handling of inbound and outbound connections.
Fix reporting of death traps.