Default locale selection to en_US if header is not set

An error is caused if the client doesn't send a header.