Kiran Kankipati has posted to the Raspberry Pi Google+ community about TrafficSqueezer which is a WAN optimization device that runs on the Raspberry Pi 2. They’ve provided a downloadable OS image for easy set-up and it relies on using a USB-to-Ethernet adapter. Read more here.