Added function to set explicit host

This is nice for when #f gives some error.