Support source filtering in the native client, fixes #73