Added client parameter to encryption filter.