add new type for chunkparser
add simplistic server state