fixed the ws4py backend - fixes #21