Fix handling of large binary arguments in the command bus and command bus client

Until now large images were transferred with missing bits