Remove mcurl.go and move functionality into config.go. Update affected modules.