Some not-so-fast testing and bugfixing of the previous commit. Also, requests can now be handled both ways by remote devices.