Although phones can be configured explicitly to use a proxy, WhatsApp does not use these settings and should be considered a transparent application only. Since that's the case, your only choice is to use Transparent Proxy to bypass WhatsApp traffic or configure the proxy to tunnel protocol errors.