Create a protocol package and move HTTP and AJP specific code