added in functional test app using sockets to get data from server