Prefixed message/file size to network stream