Changed protocol between django and bridge to include the length of transmission