add proxy support and remove trailing spaces.
Merge pull request #101 from bryancolligan/noodle-proxy

add proxy support and remove trailing spaces.