debugging (remove reuse of socketargs in client api)