Split the decoder modules from the observer implementation. Proposed source directory layout:
src/decoders/http1/ # Decoder for HTTP/1.x streams
src/decoders/http2/ # Decoder for HTTP/2.0 streams
Layout for the http1 decoder:
src/decoders/http1/http_decoder.h # public API, used by observer
src/decoders/http1/http_decoder.c # implementation
Split the decoder modules from the observer implementation. Proposed source directory layout: