Fixing up some unsupported behaviour in the HttpLoader when built using NME

This includes the adding of custom headers and the support for https urls
fix indentation
remove traces and convert spaces back to tabs
support http and https
merge with latest master
fix up some formatting
Merge branch 'refs/heads/master' into httploader-nme-fixes

Conflicts:
	src/mloader/HttpLoader.hx
fix white space diffs
Merge pull request #4 from massiveinteractive/httploader-nme-fixes

Improved support for NME's URLLoader in HttpLoader