[BrowserKit] Fix #10641 : BrowserKit is broken when using ip as host