also, i'm open to suggestions for new api methods if you need them.
you can test the API at electrum.unsha.net ports: 50001 (tcp), 50002 (ssl), 8081 (http), 8082 (https) and the brand new webocket interfaces: 8008 (websocket), 8009 (ssl websocket)
i wanna see some great new services built upon this api!
the session cookie is quite important as the server will not neccessarily return the answer right away. if it doesn't, you just send an empty message ("[]" is a good example, an empty array) and the server sends you all the queued responses.