Added multirouting support in client, + tests

Seems to be working, but requires further testing..