Retrieving host from headers.