minor changes in sockets
add test server