[CB-604] - weinre doesn't work in strict mode

https://issues.apache.org/jira/browse/CB-604