Php Socket Primitive data types lib