Parse origin header and extract hostname