allow net and http to be used from workers
more shenanigans in getting net to work from workers