Added ProtoEndcoder

Works