add TCP to php client