A lightweight BOSH emulator