Curl errors go to client, Fixes 53

Fixes gzip issue, curl errors go to client

Retry 403 errors from Web Maps

Curl errors go to client, Fixes 53

Fixes gzip issue, curl errors go to client

Retry 403 errors from Web Maps

Added curlError method
set all headers to client response
Update proxy.jsp to handle null referer.
Changed error message and reordered null referer conditional
Moved check referer==null to first position in conditional.
Merge pull request #116 from GISNuts/patch-1

Update proxy.jsp to handle null referer.
Merge pull request #109 from phpmaps/secure-webmap-fix

Secure webmap fix
Merge pull request #114 from esoekianto/set-all-headers

Java: set all headers to client response