Hacks for twemproxy compatability