router: Check hostname for every HTTP request

Closes #152

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>