I would prefer to have this take "sockets/main" and make it into a ws url the same way that a http url would normally work.