httpserver: try to reuse interface and port