Buffer leak fixed. #141
Composite packets handling fixed