ChatShared: Add registerpacket.

Signed-off-by: JordySipkema <jordysipkema@gmail.com>