support running behind node-http-proxy routing table

minor changes to the client-side code that computes the /tasks and /socket.io endpoints to make it more reverse-proxy-friendly.  This allows hackflowy to be proxied as http;//server/hackflowy/, alongside other apps.