Finished implementation of custom packet handler, fixed field errors in mapchunk packet

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>