Allow customisation of the paths that we attempt to connect to on the server
Stop sending pings when all known sockets have been closed
When endpoint not found, close with a 4000 code