Read full stream from socket
Configurable idpath
Only include unique message ids in result of getIndex