fix logger use
use new for initialize struct
add NewFrameHeader()
use new(), make() for allocate
update version
update upgrade header
update NewFrames
refuctoring
update logger in main/client.go