Escape attrs bosh ws

Tests for esl/MongooseIM#232