It sounds like you are looking for more of a firewall type product. The SWG is not a firewall and is not designed to filter this kind of traffic. It is mainly a malware detection product and offers compliance features to prevent your users from accessing websites you don't want them to.