Check host for 0.0.0.0 AND localhost

This caused issues for me as even when setting the env variable of HOST
as '0.0.0.0' it would be read in as 'localhost' in the application, this
check just makes sure that we can use both.