Added in ip address self-detection

Quick patch, @adamsutton
Agree with previous comments, however also want to have backwards compatibility for older HTSP clients, so a basic check for local interfaces can take place.
Does basic RFC1918 check on the IP so local/internal IPs should only be passed to HTSP client.