Absolute HTTP link

This snippet returns the absolute http link of any given link.
Return example: http://DOMAIN.COM