Invalid host header when using wildcard domain

[Describe the bug]

When starting HTTP tunnel with a reserved custom wildcard domain like *.dev.example.com, LocalXpose client forwards non-TLS traffic to my localhost service with invalid host header.

[Steps To Reproduce]

  1. Start a tunnel like loclx tunnel http —reserved-domain “*.dev.example.com“ —to localhost:80

  2. Start a dummy server in localhost like nc -l 80 -vv

  3. Create a request to the tunnel address like curl http://hello.dev.example.com.

  4. See the dummy server logs and you will find the Host: *.dev.example.com

[Expected Behaviour]

Host header should be the requested domain address, in the previous example should be hello.dev.example.com.