fixed origin grabbing in network_service for Firefox