moved proto_encode.* to arduino dir