A server side implementation written in PHP for WebSqlSync (orbitaloop)