Add composer support.

Depends on Net_URL2 getting composer support which I will open a PR for when it is on github.