I just looked in your PassthruError.php file and noticed you are using curl in your function. I believe this is the issue as my server sits behind a firewall and reverse proxy. It cannot curl to itself.
If I comment out the error checking for passthru, will the rest of the plugin function as intended or do you implement curl elsewhere?