Fix websockets to allow using web-platform.test hostname.