add new bridging support (for http mostly), and clean up some path stuff