Moved the function object_type add_client() from st_client to st_tcp_client, because we should avoid using it to create a udp socket, it's only for tcp socket.