Swap the args in the definition for regenerate_payload in
http/server.rb and tcp.rb.