fix - init value

add init value for fields
improve - builder pattern

use builder pattern for http protocol codec