A simple iOS / Android traffic splitter in PHP