updated sockets binary to use server code instead of client code.