corex: rpc corex.list_sockets and corex.list_aliases return array

- type of return value set to RET_ARRAY
jsonrpc-s: new module implementing a JSONRPC server over HTTP

- it uses internal json library
- requires xhttp module to handle http messages