Fix up transparent proxy stuff
more fixes, less warnings.