- Split connection.c to message.c, channel.c and support/misc .c (partially done) - Optimize a lot of repeating code, sometimes to static inline