Add command handling to module control.
Each command that is sent to the server must have request field with command
name. If the command was successful then it returns "status" field set to "ok";
otherwise it is set to "failed".
There is implemented only one command "torrent list" at the moment. It returns
dictionary with following fields:
info hash - 20 byte string with SHA1 hash of
the info part of metainfo file
metainfo - content of the metainfo file
file - name of the metainfo file
bitfield - bit array with completed pieces
remaining - number of pieces to download
Failed response has a field "response" set to string describing the error:
malformed request - request is not proper bencoded dictionary; additional field
"reason" specifies the error
unknown request - server know nothing about sent command