Reworked external message callback
Moved socket init to init phase 3; AppBase init set back by 1