Big outbound refactorization
Several fixes
Header parsing rework
Header parser rework