alright here is an updated version.
Change Log:
1) fixed spelling error in comment so that laserlight can stop twitching 😉
2) quoted array index references that are not variables
3) put output into a table and used just a touch of css for readability.
4) did a bit better preperation on the input destination.
5) made http check port 80 instead of 115, don't know what I was thinking last night.
here it is