retry binding to peer & http ports with tryCreateTCPServer()
refactor http-stream a bit, pass httpStreamPort to ui