"the client talks about flash and or websockets"
Can you just telnet in and avoid the web based interface completely ?
I would assume so ... then you could start your game in a screen session and just re-attach anytime you like.
Can you, indeed, telnet (or ssh) to discworld ?