Moved from HttpBroadcast.scala