added test for action call
hooked up the socket to the network