Changed proxy request from curl to wget.
Fix for new line char.