Supported multiple packet types handling in libclient