getTorrents() now takes an optional array of id's as a parameter