The php version of hydro network protocol