Fixed a signed / unsigned conversion on 64 bit architectures.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5410 acf43c95-373e-0410-b603-e72c3f656dc1
If socket connection is required by libyate.php check if the PHP sockets extension is loaded.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5411 acf43c95-373e-0410-b603-e72c3f656dc1