flask + protocol buffer