added pong server, currently acts as server and client