pkg/Makefile.{http,git}: Minor issues resolved.

The were two recipes for clean. One of them is now "dist-clean"
Merge pull request #1462 from backenklee/smallPR

pkg/Makefile.http: There were two recipes for clean.
core: Provide functions for different byte orders

Rationale: see #1586.
SQUASH ME: typos