Allow URLs as first parameter to client, desk, and sockets
updated tests