Socket client form php 5.4