Fix compile warnings on CURL binding
Add initial window.setIcon support