Host Autodetection and URL builder
https://github.com/CARNATIONMINI-ALIBI/Forum/issues/9