Currently following Mozilla putting stuff in /dom for additional porting, but it's actually the wrong location since it belongs in /netwerk with the other code that deals with http headers.