add asyncore.h from https://github.com/nmmmnu/asyncore
change type names