Attempt to merge FlightAware's dump1090 changes.  It somewhat works but we are getting segfaults in a theoretically unrelated part of the code.