Add extension points to the dispatch code

Following https://github.com/ArcBees/GWTP/issues/347 I added a couple extension points through the dispatch classes. I also removed the header encoding.