def delimitProtobuf(src):
    """Python protobuf bindings are missing writeDelimited, this is a workaround to add a delimiter"""
    from google.protobuf.internal import encoder
    serializedMessage = src.SerializeToString()
    delimiter = encoder._VarintBytes(len(serializedMessage))
    return delimiter + serializedMessage
