allows overriding ws host