deluge api now working correctly over JSON-RPC