what you want to do will work as long as you don't modify the size of the HTTP payload. if you modify the size you'll have to fix the TCP seq / ack number accordingly to not mess up the connection. and that's not something trivial to do. what you need to do is basically TCP hijacking, and that requires a full TCP stack implementation in user mode.
my suggestion for you is to take another approach. you can perform a MITM attack (with any tool you want, including libcrafter) and then redirect all the traffic of your victim to a proxy setup on the attacker machine. then do all the HTTP mangling on the proxy.