added possibility to subscribe to topics by a whitelist

This commit adds possibility to subscribe to multiple topics at once by using whitelist (ie. __(topic1|topic2)__)