Move the cleaning of trailing newline in output to terminal, and adjust adapt certain modules
Fix net_curl templates to skip multiple headers declaration
Add tests for net_proxy module