Update protocol to 1.5.2
merge dispatch_packet and poll
improve naming mess a bit