remove unneeded import
remove debugger plugin and replace with dummy plugin
modify Content-Length header to match length of modified body