Manual merge of pull request submitted by @gitgrimbo, allowing hostname to be bound for NanoHttpd server.