Parse request headers