Some improvements

* Matching list length now limited
* Client existence check in send request handler
* Added database index
* Slightly improved tests
* Synced client submodule